import { useModel } from 'umi';

const SecurityAchievement = () => {
  const { initialState } = useModel('@@initialState');
  const { loginName } = initialState.info;
  return (
    <div style={{ width: '100%', height: '100%' }}>
      <iframe
        src={`/soc/global_trend/funnel?sso_token=${loginName}&inject=true&soc_redirect_type=href`}
        frameBorder="0"
        height="100%"
        width="100%"
      ></iframe>
    </div>
  );
};

export default SecurityAchievement;
